@font-face {
    font-family: 'WenYiXiaoKai';
    src: url('assets/fonts/WenYiXiaoKai.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'WenYiXiaoKai', sans-serif;
    background: linear-gradient(135deg, #f6f8ff, #e0f7fa);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

h1 {
    text-align: center;
    margin-top: 20px;
    font-size: 36px;
    color: #333;
}

.filters {
    display: flex;
    justify-content: center;
    margin: 20px;
    gap: 10px;
}

input, select, button {
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
    outline: none;
}

button {
    background-color: #4caf50;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

    button:hover {
        background-color: #45a049;
    }

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px;
}

.card {
    background: white;
    width: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .card img {
        width: 100%;
        height: 160px;
        object-fit: cover;
    }

.card-body {
    padding: 15px;
}

.card-title {
    font-size: 20px;
    margin: 0 0 10px 0;
    color: #333;
}

.card-text {
    font-size: 14px;
    color: #666;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}
